﻿<?php
error_reporting(0);
define('IN_QY',true);
session_start();
require("include/common.inc.php");
define('SCRIPT','ad_list');
if(!$_COOKIE['userid']){
      echo "<script type='text/javascript'>location.href='/wap/mlogin.php';</script>";
      exit;
}
$sqlu = "select * from tbl_user where id=".$_COOKIE['userid'];
$queryu=mysql_query($sqlu);
$rowu=mysql_fetch_array($queryu);
$jifen = $rowu['jifen'];
$yuee = $rowu['yuee'];
$xyf = $rowu['xyf'];
$vip = $rowu['vip'];
$touxiang = $rowu['username'];
$sqla = "select count(*) as cc from tbl_spp where userid='".$_COOKIE['username']."'";
$querya=mysql_query($sqla);
$rowa=mysql_fetch_array($querya);
$s = $rowa['cc'];
//查成交量
$sqlb = "select count(*) as dd from tbl_spp where content='该商品已卖' AND userid='".$_COOKIE['username']."'";
$queryb=mysql_query($sqlb);
$rowb=mysql_fetch_array($queryb);
$chengjiaoliang = $rowb['dd'];  //成交量
//优惠卷
$sqlyhj = "select sum(shuliang) as dy from tbl_yhq where state=1 and userid='".$_COOKIE['username']."'";
$queryyhj=mysql_query($sqlyhj);
$rowyhj=mysql_fetch_array($queryyhj);
$tjyhj = $rowyhj['dy'];  //youhuij
?>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title><?=$_COOKIE['shuyu']?>/设置-众晒网</title>
    <link href="/ui/css/Hui.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
     #header{width:100%; position:absolute; top:0;}
     #footer{width:100%; height:55px; position:absolute; bottom:0;}	 
     #main{width:100%; overflow: auto; position:absolute; top:45px;bottom:0px;}
    </style>
</head>
<body>
    <header class="H-header H-theme-background-color-white" id="header">
        <span tapmode="" onclick="H.closeWin();" class="H-icon H-position-relative H-display-inline-block H-float-left H-vertical-middle H-theme-font-color-white H-padding-horizontal-left-10 H-z-index-100"><i class="H-iconfont H-icon-arrow-left H-theme-font-color-black H-font-size-18 H-vertical-middle"></i></span>
        <div class="H-header-title H-center-all H-font-size-18 H-text-show-row-1 H-theme-font-color-black H-position-absolute H-width-100-percent"><strong>设置</strong></div>
    </header>
    <div id="main">
        <div class="H-margin-vertical-top-10 H-theme-background-color-white H-border-vertical-both-after">
            <div tapmode="" onclick="H.openWin('xxbuquan', 'xxbuquan.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">个人资料</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>
            <div tapmode="" onclick="H.openWin('xiugaitoux', 'xiugaitoux.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">上传头像</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>
            <div tapmode="" onclick="H.openWin('wodehaoyou', 'wodehaoyou.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">我的好友</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>
            <div tapmode="" onclick="H.openWin('xiugaimima', 'xiugaimima.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">修改密码</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div> 
			
			   <div tapmode="" onclick="H.openWin('bangdingzfb', 'bangdingzfb.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">绑定收款账户</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div> 
			   <div tapmode="" onclick="H.openWin('myaddress3', 'myaddress3.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">地址管理</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div> 			
			
        </div>

        <div  class="H-margin-vertical-top-10 H-theme-background-color-white H-border-vertical-both-after">
            <div tapmode="" onclick="H.openWin('jifenmx', 'jifenmx.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">积分明细</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>
            <div tapmode="" onclick="H.openWin('xieyi', 'xieyi.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">用户协议</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>
            <div tapmode="" onclick="H.openWin('ys', 'ys.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-border-vertical-bottom-margin-left-10-after H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">隐私政策</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div>  			
			  <div tapmode="" onclick="H.openWin('xgtelnum', 'xgtelnum.php');" class="H-text-list H-flexbox-horizontal  H-theme-background-color-white H-vertical-middle H-touch-active">
                <div class="H-flex-item H-padding-horizontal-both-10 H-font-size-12 H-padding-vertical-both-12">修改手机号</div>
                <span class="H-icon H-padding-horizontal-right-10 H-display-block"><i class="H-iconfont H-icon-arrow-right H-theme-font-color-999 H-font-size-14 H-vertical-middle"></i></span>
            </div> 

			
        </div>
        <div style="margin-top:20px">
    <center>
    <button tapmode="" onclick="H.openWin('logout', 'logout.php');" class="H-button H-width-100-percent H-padding-vertical-both-8 H-font-size-18 H-outline-none H-padding-horizontal-both-17 H-theme-background-color8 H-theme-font-color-white H-theme-border-color8 H-theme-border-color8-click H-theme-background-color8-click H-theme-font-color8-click H-border-radius-3" style="width:70%">退出登录</button>
    </center>
        </div>
     <div style="margin-top:85px">
	   </div>
    </div>
    <script src="/ui/script/H.js" type="text/javascript"></script>
     <!--################################底部开始################################-->  	
    <?include('footer.php');?>
     <!--################################底部结束################################-->
</body>
</html>